<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行业动态 - 1024导航</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#3B82F6',
                        secondary: '#10B981',
                        accent: '#F59E0B',
                        dark: '#1F2937',
                        light: '#F9FAFB'
                    },
                    fontFamily: {
                        sans: ['Inter', 'system-ui', 'sans-serif'],
                    },
                }
            }
        }
    </script>
    <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .card-hover {
                @apply transition-all duration-300 hover:shadow-lg hover:-translate-y-1;
            }
            .text-gradient {
                @apply bg-clip-text text-transparent bg-gradient-to-r from-primary to-secondary;
            }
            .news-nav-active {
                @apply bg-primary text-white;
            }
        }
    </style>
</head>

<body class="bg-gray-50 font-sans text-gray-800">
    <!-- 顶部导航栏 -->
    <header class="sticky top-0 z-50 bg-white shadow-sm transition-all duration-300">
        <div class="container mx-auto px-4 py-3 flex justify-between items-center">
            <div class="flex items-center space-x-2">
                <div class="text-primary text-2xl font-bold">1024<span class="text-secondary">导航</span></div>
                <span class="hidden md:inline-block text-sm text-gray-500 bg-gray-100 px-2 py-1 rounded">v2.3</span>
            </div>

            <nav class="hidden md:flex items-center space-x-6">
                <a href="index.html" class="text-gray-600 hover:text-primary transition-colors">首页</a>
                <a href="resources.html" class="text-gray-600 hover:text-primary transition-colors">资源</a>
                <a href="tools.html" class="text-gray-600 hover:text-primary transition-colors">工具</a>
                <a href="community.html" class="text-gray-600 hover:text-primary transition-colors">社区</a>
                <a href="news.html" class="text-primary font-medium">资讯</a>
                <a href="about.html" class="text-gray-600 hover:text-primary transition-colors">关于</a>
            </nav>

            <div class="flex items-center space-x-3">
                <button
                    class="hidden md:block px-4 py-2 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors">
                    <i class="fa fa-user-plus mr-1"></i> 登录
                </button>
                <button class="md:hidden text-gray-600 text-xl">
                    <i class="fa fa-bars"></i>
                </button>
            </div>
        </div>
    </header>

    <!-- 页面标题 -->
    <section class="py-10 bg-gradient-to-b from-white to-gray-50 border-b border-gray-100">
        <div class="container mx-auto px-4">
            <div class="max-w-3xl mx-auto text-center">
                <h1 class="text-[clamp(1.8rem,5vw,2.5rem)] font-bold mb-4 text-gradient">最新资讯动态</h1>
                <p class="text-gray-600">了解行业前沿、技术趋势和平台更新信息</p>
            </div>
        </div>
    </section>

    <!-- 新闻内容区 -->
    <section class="py-10">
        <div class="container mx-auto px-4">
            <div class="max-w-6xl mx-auto">
                <!-- 新闻分类导航 -->
                <div class="bg-white rounded-xl shadow-sm p-4 mb-8">
                    <div class="flex flex-wrap gap-2">
                        <button class="news-nav-active px-4 py-2 rounded-full text-sm transition-colors">
                            全部资讯
                        </button>
                        <button
                            class="px-4 py-2 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200 transition-colors">
                            平台公告
                        </button>
                        <button
                            class="px-4 py-2 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200 transition-colors">
                            技术动态
                        </button>
                        <button
                            class="px-4 py-2 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200 transition-colors">
                            资源推荐
                        </button>
                        <button
                            class="px-4 py-2 bg-gray-100 text-gray-700 rounded-full text-sm hover:bg-gray-200 transition-colors">
                            行业资讯
                        </button>
                    </div>
                </div>

                <!-- 新闻列表 -->
                <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
                    <!-- 头条新闻 -->
                    <div class="lg:col-span-3 bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <div class="md:flex">
                            <div class="md:w-1/2">
                                <img src="https://picsum.photos/800/400?random=1" alt="平台重大更新公告"
                                    class="w-full h-64 md:h-full object-cover">
                            </div>
                            <div class="p-6 md:w-1/2 flex flex-col justify-between">
                                <div>
                                    <div class="flex items-center mb-3">
                                        <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded-full">平台公告</span>
                                        <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                            2023-06-15</span>
                                    </div>
                                    <h2 class="text-xl font-bold mb-3 hover:text-primary transition-colors">
                                        <a href="news-detail.html">1024导航v2.3版本正式发布，新增AI工具分类与资源评测功能</a>
                                    </h2>
                                    <p class="text-gray-600 mb-4 line-clamp-3">
                                        本次更新带来了全新的AI工具分类，收录了50+优质AI工具，包括ChatGPT类对话工具、AI绘画工具、AI写作助手等。同时新增的资源评测功能将帮助用户更好地了解每个资源的优缺点，做出更明智的选择...
                                    </p>
                                </div>
                                <div class="flex justify-between items-center">
                                    <div class="flex items-center text-gray-500 text-sm">
                                        <span class="mr-4"><i class="fa fa-eye mr-1"></i> 3.2k</span>
                                        <span><i class="fa fa-comment mr-1"></i> 48</span>
                                    </div>
                                    <a href="news-detail.html" class="text-primary hover:underline text-sm">阅读全文 <i
                                            class="fa fa-angle-right ml-1"></i></a>
                                </div>
                            </div>
                        </div>
                    </div>

                    <!-- 新闻条目1 -->
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <img src="https://picsum.photos/600/300?random=2" alt="10个提高效率的开发工具推荐"
                            class="w-full h-48 object-cover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded-full">资源推荐</span>
                                <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                    2023-06-10</span>
                            </div>
                            <h3 class="font-bold mb-3 hover:text-primary transition-colors">
                                <a href="news-detail.html">2023年最值得推荐的10个前端开发效率工具</a>
                            </h3>
                            <p class="text-gray-600 text-sm mb-4 line-clamp-3">
                                本文精选了10个能够显著提高前端开发效率的工具，包括代码生成工具、自动化测试工具、性能分析工具等，帮助开发者减少重复工作，专注于核心业务逻辑...
                            </p>
                            <div class="flex justify-between items-center text-sm">
                                <div class="flex items-center text-gray-500">
                                    <span class="mr-4"><i class="fa fa-eye mr-1"></i> 1.8k</span>
                                    <span><i class="fa fa-comment mr-1"></i> 23</span>
                                </div>
                                <a href="news-detail.html" class="text-primary hover:underline">阅读全文</a>
                            </div>
                        </div>
                    </div>

                    <!-- 新闻条目2 -->
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <img src="https://picsum.photos/600/300?random=3" alt="AI技术发展趋势"
                            class="w-full h-48 object-cover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="bg-blue-100 text-blue-600 text-xs px-2 py-1 rounded-full">技术动态</span>
                                <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                    2023-06-05</span>
                            </div>
                            <h3 class="font-bold mb-3 hover:text-primary transition-colors">
                                <a href="news-detail.html">大语言模型发展现状与未来趋势分析</a>
                            </h3>
                            <p class="text-gray-600 text-sm mb-4 line-clamp-3">
                                从GPT-3到GPT-4，大语言模型的发展日新月异。本文将深入分析当前主流大语言模型的技术特点、应用场景以及未来的发展方向，帮助读者把握AI技术的发展脉络...
                            </p>
                            <div class="flex justify-between items-center text-sm">
                                <div class="flex items-center text-gray-500">
                                    <span class="mr-4"><i class="fa fa-eye mr-1"></i> 2.5k</span>
                                    <span><i class="fa fa-comment mr-1"></i> 56</span>
                                </div>
                                <a href="news-detail.html" class="text-primary hover:underline">阅读全文</a>
                            </div>
                        </div>
                    </div>

                    <!-- 新闻条目3 -->
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <img src="https://picsum.photos/600/300?random=4" alt="设计师必备资源网站"
                            class="w-full h-48 object-cover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="bg-purple-100 text-purple-600 text-xs px-2 py-1 rounded-full">资源推荐</span>
                                <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                    2023-05-28</span>
                            </div>
                            <h3 class="font-bold mb-3 hover:text-primary transition-colors">
                                <a href="news-detail.html">设计师不可错过的8个高质量素材网站</a>
                            </h3>
                            <p class="text-gray-600 text-sm mb-4 line-clamp-3">
                                无论是UI设计、插画创作还是动效制作，优质的素材都能让设计工作事半功倍。本文推荐的8个素材网站不仅资源丰富，而且提供了大量可商用的免费素材...
                            </p>
                            <div class="flex justify-between items-center text-sm">
                                <div class="flex items-center text-gray-500">
                                    <span class="mr-4"><i class="fa fa-eye mr-1"></i> 1.6k</span>
                                    <span><i class="fa fa-comment mr-1"></i> 19</span>
                                </div>
                                <a href="news-detail.html" class="text-primary hover:underline">阅读全文</a>
                            </div>
                        </div>
                    </div>

                    <!-- 新闻条目4 -->
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <img src="https://picsum.photos/600/300?random=5" alt="编程学习路径" class="w-full h-48 object-cover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="bg-amber-100 text-amber-600 text-xs px-2 py-1 rounded-full">行业资讯</span>
                                <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                    2023-05-20</span>
                            </div>
                            <h3 class="font-bold mb-3 hover:text-primary transition-colors">
                                <a href="news-detail.html">2023年后端开发学习路径与资源推荐</a>
                            </h3>
                            <p class="text-gray-600 text-sm mb-4 line-clamp-3">
                                后端开发作为IT行业的核心岗位，一直是很多人学习的首选。本文将为不同基础的学习者提供清晰的学习路径，从编程语言选择到框架学习，再到项目实战...
                            </p>
                            <div class="flex justify-between items-center text-sm">
                                <div class="flex items-center text-gray-500">
                                    <span class="mr-4"><i class="fa fa-eye mr-1"></i> 2.1k</span>
                                    <span><i class="fa fa-comment mr-1"></i> 37</span>
                                </div>
                                <a href="news-detail.html" class="text-primary hover:underline">阅读全文</a>
                            </div>
                        </div>
                    </div>

                    <!-- 新闻条目5 -->
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <img src="https://picsum.photos/600/300?random=6" alt="网站维护通知" class="w-full h-48 object-cover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="bg-red-100 text-red-600 text-xs px-2 py-1 rounded-full">平台公告</span>
                                <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                    2023-05-15</span>
                            </div>
                            <h3 class="font-bold mb-3 hover:text-primary transition-colors">
                                <a href="news-detail.html">关于服务器升级维护的通知</a>
                            </h3>
                            <p class="text-gray-600 text-sm mb-4 line-clamp-3">
                                为了提供更稳定的服务和更快的访问速度，我们计划于5月20日凌晨2点至6点进行服务器升级维护。维护期间网站可能无法正常访问，敬请谅解...
                            </p>
                            <div class="flex justify-between items-center text-sm">
                                <div class="flex items-center text-gray-500">
                                    <span class="mr-4"><i class="fa fa-eye mr-1"></i> 1.3k</span>
                                    <span><i class="fa fa-comment mr-1"></i> 8</span>
                                </div>
                                <a href="news-detail.html" class="text-primary hover:underline">阅读全文</a>
                            </div>
                        </div>
                    </div>

                    <!-- 新闻条目6 -->
                    <div class="bg-white rounded-xl shadow-sm overflow-hidden card-hover">
                        <img src="https://picsum.photos/600/300?random=7" alt="远程工作工具" class="w-full h-48 object-cover">
                        <div class="p-5">
                            <div class="flex items-center mb-3">
                                <span class="bg-green-100 text-green-600 text-xs px-2 py-1 rounded-full">资源推荐</span>
                                <span class="text-gray-500 text-sm ml-3"><i class="fa fa-clock-o mr-1"></i>
                                    2023-05-10</span>
                            </div>
                            <h3 class="font-bold mb-3 hover:text-primary transition-colors">
                                <a href="news-detail.html">15个提升远程工作效率的必备工具</a>
                            </h3>
                            <p class="text-gray-600 text-sm mb-4 line-clamp-3">
                                随着远程工作的普及，选择合适的工具变得尤为重要。本文推荐的15个工具涵盖了团队协作、项目管理、沟通交流等多个方面，帮助远程团队提高工作效率...
                            </p>
                            <div class="flex justify-between items-center text-sm">
                                <div class="flex items-center text-gray-500">
                                    <span class="mr-4"><i class="fa fa-eye mr-1"></i> 1.7k</span>
                                    <span><i class="fa fa-comment mr-1"></i> 24</span>
                                </div>
                                <a href="news-detail.html" class="text-primary hover:underline">阅读全文</a>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 分页 -->
                <div class="mt-10 flex justify-center">
                    <nav class="inline-flex rounded-md shadow-sm" aria-label="Pagination">
                        <a href="#"
                            class="relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                            <i class="fa fa-chevron-left"></i>
                        </a>
                        <a href="#"
                            class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-primary text-sm font-medium text-white">
                            1
                        </a>
                        <a href="#"
                            class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
                            2
                        </a>
                        <a href="#"
                            class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
                            3
                        </a>
                        <span
                            class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700">
                            ...
                        </span>
                        <a href="#"
                            class="relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50">
                            8
                        </a>
                        <a href="#"
                            class="relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50">
                            <i class="fa fa-chevron-right"></i>
                        </a>
                    </nav>
                </div>
            </div>
        </div>
    </section>

    <!-- 订阅区域 -->
    <section class="py-10 bg-gradient-to-r from-primary/10 to-secondary/10">
        <div class="container mx-auto px-4">
            <div class="max-w-3xl mx-auto text-center">
                <h2 class="text-2xl font-bold mb-4">订阅资讯推送</h2>
                <p class="text-gray-600 mb-6">第一时间获取最新的资源推荐和技术动态</p>
                <div class="flex flex-col sm:flex-row gap-3 max-w-md mx-auto">
                    <input type="email" placeholder="请输入您的邮箱"
                        class="flex-1 px-4 py-3 rounded-md shadow-sm border border-gray-200 focus:outline-none focus:ring-2 focus:ring-primary/50 focus:border-primary">
                    <button
                        class="px-6 py-3 bg-primary text-white rounded-md hover:bg-primary/90 transition-colors whitespace-nowrap">
                        立即订阅
                    </button>
                </div>
                <p class="text-gray-500 text-xs mt-3">我们尊重您的隐私，不会向第三方泄露您的信息</p>
            </div>
        </div>
    </section>

    <!-- 底部区域 -->
    <footer class="bg-gray-800 text-gray-300 py-10 mt-10">
        <div class="container mx-auto px-4">
            <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
                <div>
                    <h3 class="text-white text-lg font-semibold mb-4">1024导航</h3>
                    <p class="text-sm text-gray-400 mb-4">精选互联网优质资源，打造高效便捷的导航平台，助力你的工作与学习。</p>
                    <div class="flex space-x-4">
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-github text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-twitter text-xl"></i>
                        </a>
                        <a href="#" class="text-gray-400 hover:text-white transition-colors">
                            <i class="fa fa-weixin text-xl"></i>
                        </a>
                    </div>
                </div>

                <div>
                    <h3 class="text-white font-medium mb-4">快速链接</h3>
                    <ul class="space-y-2 text-sm">
                        <li><a href="index.html" class="text-gray-400 hover:text-white transition-colors">首页</a></li>
                        <li><a href="resources.html" class="text-gray-400 hover:text-white transition-colors">资源分类</a>
                        </li>
                        <li><a href="tools.html" class="text-gray-400 hover:text-white transition-colors">实用工具</a></li>
                        <li><a href="news.html" class="text-gray-400 hover:text-white transition-colors">最新资讯</a></li>
                        <li><a href="community.html" class="text-gray-400 hover:text-white transition-colors">社区交流</a>
                        </li>
                    </ul>
                </div>

                <div>
                    <h3 class="text-white font-medium mb-4">帮助支持</h3>
                    <ul class="space-y-2 text-sm">
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用指南</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">资源提交</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">常见问题</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">联系我们</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">举报不良信息</a></li>
                    </ul>
                </div>

                <div>
                    <h3 class="text-white font-medium mb-4">关于我们</h3>
                    <ul class="space-y-2 text-sm">
                        <li><a href="about.html" class="text-gray-400 hover:text-white transition-colors">网站介绍</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">隐私政策</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">使用条款</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">团队成员</a></li>
                        <li><a href="#" class="text-gray-400 hover:text-white transition-colors">加入我们</a></li>
                    </ul>
                </div>
            </div>

            <div class="border-t border-gray-700 mt-8 pt-8 text-center text-sm text-gray-500">
                <p>© 2023 1024导航 - 专注优质资源导航服务</p>
            </div>
        </div>
    </footer>

    <!-- 回到顶部按钮 -->
    <button id="backToTop"
        class="fixed bottom-6 right-6 w-12 h-12 rounded-full bg-primary text-white shadow-lg flex items-center justify-center opacity-0 invisible transition-all z-50">
        <i class="fa fa-chevron-up"></i>
    </button>

    <script>
        // 导航栏滚动效果
        const header = document.querySelector('header');
        const backToTopBtn = document.getElementById('backToTop');

        window.addEventListener('scroll', () => {
            if (window.scrollY > 100) {
                header.classList.add('py-2', 'shadow');
                header.classList.remove('py-3', 'shadow-sm');
                backToTopBtn.classList.remove('opacity-0', 'invisible');
                backToTopBtn.classList.add('opacity-100', 'visible');
            } else {
                header.classList.add('py-3', 'shadow-sm');
                header.classList.remove('py-2', 'shadow');
                backToTopBtn.classList.add('opacity-0', 'invisible');
                backToTopBtn.classList.remove('opacity-100', 'visible');
            }
        });

        // 回到顶部功能
        backToTopBtn.addEventListener('click', () => {
            window.scrollTo({
                top: 0,
                behavior: 'smooth'
            });
        });

        // 新闻分类切换
        const categoryButtons = document.querySelectorAll('.news-nav-active, .bg-gray-100.rounded-full');
        categoryButtons.forEach(button => {
            button.addEventListener('click', () => {
                // 移除所有按钮的活跃状态
                categoryButtons.forEach(btn => {
                    btn.classList.remove('news-nav-active');
                    btn.classList.add('bg-gray-100', 'text-gray-700', 'hover:bg-gray-200');
                });

                // 设置当前按钮为活跃状态
                button.classList.add('news-nav-active');
                button.classList.remove('bg-gray-100', 'text-gray-700', 'hover:bg-gray-200');
            });
        });
    </script>
</body>

</html>